package com.situ.b2c.pojo;

import java.util.Date;

public class User extends Base{
	
	private String userName;
	private String userCode;
	private String userPass; 
	private String userAvatar;// 用户头像
	private Integer isLock; //是否锁定
	private Integer loginCount;//登陆次数
	private String loginIp;//最后登录IP
	private Date loginDate;//最后登录时间
	
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserCode() {
		return userCode;
	}
	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}
	public String getUserPass() {
		return userPass;
	}
	public void setUserPass(String userPass) {
		this.userPass = userPass;
	}
	public String getUserAvatar() {
		return userAvatar;
	}
	public void setUserAvatar(String userAvatar) {
		this.userAvatar = userAvatar;
	}
	public Integer getLoginCount() {
		return loginCount;
	}
	public void setLoginCount(Integer loginCount) {
		this.loginCount = loginCount;
	}
	public String getLoginIp() {
		return loginIp;
	}
	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}
	public Date getLoginDate() {
		return loginDate;
	}
	public void setLoginDate(Date loginDate) {
		this.loginDate = loginDate;
	}
	
	
	public Integer getIsLock() {
		return isLock;
	}
	public void setIsLock(Integer isLock) {
		this.isLock = isLock;
	}
	@Override
	public String toString() {
		return "User [userName=" + userName + ", userCode=" + userCode + ", userPass=" + userPass + ", userAvatar="
				+ userAvatar + ", loginCount=" + loginCount + ", loginIp=" + loginIp + ", loginDate=" + loginDate + "]";
	}
	
	

}
